package operation.visitor.obj;

import operation.visitor.abs.AbsPerson;
import operation.visitor.abs.IAction;

public class SuccessAction implements IAction {
    @Override
    public void giveResult(AbsPerson person) {
        System.out.println(person.getName() + "\t give success");
    }
}